<meta charset="utf-8">
<meta name="robots" content="all" />

<?php 
if(is_array($this->metadata)){
    if(is_array($this->metadata['metadata'])){
        foreach ($this->metadata['metadata'] as $key => $value) {
            if($key == 'title'){
                echo $this->headTitle($value);
            } else {
                if($value) {
                    $this->headMeta($value, $key);
                }
            }
        }
    }
    echo $this->headMeta();
    echo '<link rel="canonical" href="' . $this->metadata['canonical'] . '"/>';
}
?>
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){

  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)

  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-46851762-1', 'fmit.vn');

  ga('send', 'pageview');
</script>